/*
 * @Descripttion:
 * @version:
 * @Author: 周子尧
 * @Date: 2021-01-27 11:21:27
 * @LastEditors: 周子尧
 * @LastEditTime: 2021-01-27 13:40:49
 */
import defaultSettings from '@/settings'

const title = defaultSettings.title || '曼陀罗'

export default function getPageTitle(pageTitle) {
  if (pageTitle) {
    return `${pageTitle} - ${title}`
  }
  return `${title}`
}
